<?php
/**
 * Created by PhpStorm.
 * User: meiyun1
 * Date: 2017/3/6
 * Time: 上午9:36
 */

namespace App\App\Services\Web;

class UserService
{
    public function getLoginUser()
    {
        return [
            'id' => session('userid'),
            'groupcode' => session('groupcode'),
        ];
    }

    public function getGroupCode()
    {
        return session('groupcode');
    }

    public function getUserId()
    {
        return session('userid');
    }
}
